<!DOCTYPE html>
<html>

<head>
    <title>ajax</title>

</head>

<body>
    <h1>AJAX demo<span id="myName"></span></h1>
    <p>
        <button id="getCss">请求css</button>
        <button id="getJS">请求JS</button>
        <button id="getHTML">请求HTML</button>
        <button id="getXML">请求XML</button>
        <button id="getJSON">请求JSON</button>
        <button id="getPage">请求下一页</button>
    </p>
</body>
<div>
    {{page1}}
</div>
<script src="/main.js"></script>

</html>